package com.ax.center.service.impl;


import com.ax.center.dto.ApiResponse;
import com.ax.center.entity.LogM;
import com.ax.center.mapper.LogMMapper;
import com.ax.center.service.LogMService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zy
 * @date 2023/7/10 11:38
 */
@Service
public class LogMServiceImpl extends ServiceImpl<LogMMapper, LogM> implements LogMService {

    @Override
    public ApiResponse queryAll() {
        List<LogM> list = query().list();
        return ApiResponse.ok(list);
    }
}
